package com.bestom.usbdevelop;

public enum HexStep {

    // ID设置
    IDSet("AAD004%s%sCC"),
    IDCode("D004%s"),
    // 电机方向设置
    PositionPositiveSet("AAD104AB0080CC"),
    PositionInverseSet("AAD104BA008FCC"),
    // 堵转电流设置
    BlockCurrentSet("AAD204%s00%sCC"),
    BlockCurrentCode("D204%s00"),
    // 堵转时限设置
    BlockTimeSet("AAD304%s00%sCC"),
    BlockTimeCode("D304%s00"),
    // 运行时限设置
    RunTimeSet("AAD404%s%sCC"),
    RunTimeCode("D404%s"),
    // 开锁指令
    UnLock("AAC104%s%sCC"),
    UnLockCode("C104%s"),
    // ID查询
    IDQuery("AAC0040000C4"),
    // 闭锁指令
    Lock("AAC2040000C6CC"),
    // 锁具状态查询
    LockStatusQuery("AAF00455AAF3CC"),
    ;

    private String hexString;

    HexStep(String hexString) {
        this.hexString = hexString;
    }

    public String getHexString() {
        return hexString;
    }
}
